package com.core.Temperatura;

public class Fahrenheit extends TemperaturaBase {
	
	public Fahrenheit(double valueToBeConverted)
    {
        this.valueToBeConverted = valueToBeConverted;
    }

	@Override
    public double ToCelcius()
    {		
        return (this.valueToBeConverted-32)*5/9;
        
    }

	@Override
    public double ToKelvin()
    {
        return ((this.valueToBeConverted-32)*5/9)+273.15;
    }        

}
